package com.wejoy.video.middle.station.data.mapper.workorder;

import com.wejoy.video.middle.station.data.domain.workorder.OrderAlarmInfo;

import java.util.List;

/**
 * 工单告警类型
 *
 * @author miracle_j
 * @date 2022年11月27日 21:57:01
 */
public interface IOrderAlarmInfoMapper {

    /**
     * 插入
     *
     * @param orderAlarmInfo orderAlarmInfo
     * @return int
     */
    int insertSelective(OrderAlarmInfo orderAlarmInfo);

    /**
     * 更新
     *
     * @param setParam   setParam
     * @param whereParam whereParam
     * @return int
     */
    int updateSelective(OrderAlarmInfo setParam, OrderAlarmInfo whereParam);

    /**
     * 数量
     *
     * @param orderAlarmInfo orderAlarmInfo
     * @return int
     */
    int getCount(OrderAlarmInfo orderAlarmInfo);

    /**
     * 单条
     *
     * @param orderAlarmInfo orderAlarmInfo
     * @return OrderAlarmInfo
     */
    OrderAlarmInfo getOne(OrderAlarmInfo orderAlarmInfo);

    /**
     * 多条
     *
     * @param orderAlarmInfo orderAlarmInfo
     * @return List<OrderAlarmInfo>
     */
    List<OrderAlarmInfo> getList(OrderAlarmInfo orderAlarmInfo);

    /**
     * 分页
     *
     * @param orderAlarmInfo orderAlarmInfo
     * @return List<OrderAlarmInfo>
     */
    List<OrderAlarmInfo> getPageList(OrderAlarmInfo orderAlarmInfo);

}